﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Entrada.aspx.cs" Inherits="Negro.Entrada" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="thisForm" runat="server">
        <div>

            <br />
            <br />
            <br />

            <table align="center" width="50%">


                <tr>
                    <td>
                           <img alt="as" class="auto-style1" src="imgs/ruv_titulo2.gif" />
                    </td>
                </tr>

                <tr>

                    <td>
                        <fieldset>

                            <legend>
                                <asp:Label ID="Label2" runat="server" Text="Entrada"></asp:Label>
                            </legend>

                            <br />
                            <br />
                            <br />



                            <table align="center">

                                <tr>

                                    <td colspan="2">

                                        <table align="center">

                                            <tr>
                                                <td>
                                                    <asp:Label ID="Label1" runat="server" Text="Clave del Producto"></asp:Label>
                                                </td>

                                                <td>
                                                    <asp:TextBox ID="claveProcucto" runat="server"></asp:TextBox>
                                                </td>

                                            </tr>

                                            <tr>
                                                <td colspan="2"></td>

                                            </tr>

                                            <tr align="center">
                                                <td colspan="2">
                                                    <asp:Button ID="btnAgregar" runat="server" Text="Agregar" OnClick="btnAgregar_Click" />
                                                </td>

                                            </tr>

                                        </table>

                                    </td>

                                </tr>

                                <tr>
                                    <td colspan="2"></td>
                                </tr>

                                <tr>
                                    <td colspan="2"></td>
                                </tr>


                                <tr>
                                    <td colspan="2" align="center">

                                        <asp:GridView ID="lista" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" AutoGenerateColumns="False">

                                            <Columns>
                                                <asp:BoundField DataField="clave" HeaderText="Clave"></asp:BoundField>
                                                <asp:BoundField DataField="nombre" HeaderText="Nombre"></asp:BoundField>
                                               
                                                <asp:TemplateField HeaderText="Cantidad">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="txtCantidad" runat="server" Text='<%# Bind("cantidad") %>' AutoPostBack="true"/>
                                                    </ItemTemplate>
                                                </asp:TemplateField>

                                            </Columns>

                                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                                            <EditRowStyle BackColor="#999999" />
                                            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                            <SortedAscendingCellStyle BackColor="#E9E7E2" />
                                            <SortedAscendingHeaderStyle BackColor="#506C8C" />
                                            <SortedDescendingCellStyle BackColor="#FFFDF8" />
                                            <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                                        </asp:GridView>

                                    </td>
                                </tr>


                                <tr>
                                    <td colspan="2"></td>
                                </tr>

                                <tr>
                                    <td colspan="2"></td>
                                </tr>

                                <tr>
                                    <td colspan="2"></td>
                                </tr>

                                <tr>
                                    <td colspan="2"></td>
                                </tr>

                                <tr>
                                    <td colspan="2" align="center">
                                        <asp:Button ID="btnRegresar" runat="server" Text="Regresar" OnClick="btnRegresar_Click" />
                                        <asp:Button ID="btnGuardar" runat="server" Text="Guardar" OnClick="btnGuardar_Click" />
                                    </td>
                                </tr>


                            </table>

                            <br />
                            <br />
                            <br />

                        </fieldset>

                    </td>


                </tr>


            </table>
            
            <br />
            <br />
            <br />

        </div>
    </form>
</body>
</html>

